import { createRouter, createWebHistory,createWebHashHistory  } from 'vue-router'
import Home from '../views/Home.vue'
import about from '../views/About.vue'
import adopt from '../views/Adopt.vue'
import news from '../views/News.vue'
import login from '../views/LoginView.vue'
import shop from '../views/Shop.vue'
import payment from '../views/payment.vue'
import details from '../views/details.vue'
import application from '../views/application.vue'

const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home
    },
    {
      path: '/about',
      name: 'about',
      component: about
    },
    {
      path: '/adopt',
      name: 'adopt',
      component: adopt
    },
    {
      path: '/news',
      name: 'news',
      component: news
    },
    {
      path: '/login',
      name: 'login',
      component: login
    },
    {
      path: '/shop',
      name: 'shop',
      component: shop
    },
    {
      path: '/payment',
      name: 'payment',
      component: payment
    },
    {
      path: '/details',
      name: 'details',
      component: details
    },
    {
      path: '/application',
      name: 'application',
      component: application
    }
  ]
})

export default router
